/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.front.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 兴趣测试题管理Entity
 * @author 朱俊吉
 * @version 2017-11-28
 */
public class InTheme extends DataEntity<InTheme> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 题目
	private String sequence;		// 序号
	private String part;		// 属于第几部分
	private String category;		// 分类（ASRICE)
	private String answer;		// 得分选项
	private String chooses;		// 选项
	private String score;		// 得分
	
	public InTheme() {
		super();
	}

	public InTheme(String id){
		super(id);
	}

	@Length(min=1, max=255, message="题目长度必须介于 1 和 255 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getSequence() {
		return sequence;
	}

	public void setSequence(String sequence) {
		this.sequence = sequence;
	}
	
	@Length(min=1, max=1, message="属于第几部分长度必须介于 1 和 1 之间")
	public String getPart() {
		return part;
	}

	public void setPart(String part) {
		this.part = part;
	}
	
	@Length(min=1, max=1, message="分类（ASRICE)长度必须介于 1 和 1 之间")
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	
	@Length(min=1, max=1, message="得分选项长度必须介于 1 和 1 之间")
	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
	
	@Length(min=0, max=255, message="选项长度必须介于 0 和 255 之间")
	public String getChooses() {
		return chooses;
	}

	public void setChooses(String chooses) {
		this.chooses = chooses;
	}
	
	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}
	
}